package com.ruoyi.workflow.dubbo;

import com.ruoyi.workflow.api.RemoteActNodeAssigneeService;
import com.ruoyi.workflow.api.domain.ActNodeAssignee;
import com.ruoyi.workflow.service.IActNodeAssigneeService;
import lombok.RequiredArgsConstructor;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Service;

/**
 * 任务节点设置
 *
 * @author gssong
 */
@RequiredArgsConstructor
@Service
@DubboService
public class RemoteActNodeAssigneeServiceImpl implements RemoteActNodeAssigneeService {

    private final IActNodeAssigneeService iActNodeAssigneeService;

    /**
     * @description: 按照流程定义id和流程节点id查询流程节点人员设置
     * @param: processDefinitionId
     * @param: nodeId
     * @return: com.ruoyi.workflow.api.domain.ActNodeAssignee
     * @author: gssong
     * @date: 2022/12/10 13:43
     */
    @Override
    public ActNodeAssignee getInfoSetting(String processDefinitionId, String nodeId) {
        return iActNodeAssigneeService.getInfoSetting(processDefinitionId,nodeId);
    }
}
